#!/usr/bin/env bash

set -e

cd "$(dirname "$0")/.."

echo "==> Running tests"
go test -v ./... "$@"

echo "==> Running cmd/migrate tests"
(cd cmd/migrate && go test -v ./... "$@")
